<?php
class VB_Homeblock extends VB_Db_Table_Row {
	protected $_prefix = 'homeblock';

	function isExisting() {
		return false;
	}
	
	public function getFoto() {
		$rs = $this->findVB_FotosViaVB_Homeblock_Fotos();
		if (count($rs) > 0) {
			return $rs->current();
		}
		return false;
	}
	public function getLink() {
		new VB_Link();
		$rs = $this->findVB_LinksViaVB_Homeblock_Links();
		if (count($rs) > 0) {
			return $rs->current();
		}
		return false;
		
	}
}
?>